<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

</body>
<script>
    let [foo = true] = [];     
	let [x, y = 'b'] = ['a'];
	console.log(foo,x,y);
	
	/*let [x = 1] = [undefined];       //x: 1
	let [x = 1] = [null];			 //x: null*/
</script>
</html>